﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="wucDangTinKM.ascx.cs" Inherits="CungMuaC5.WebUC.wucDangTinKM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<div class="MainContent" 
        style="background-color: #FFFFFF; display: block; overflow: hidden;">
        <div style="height: 50px; background-color: #444444;" align="center">
            
            <asp:Label ID="Label16" runat="server" Font-Bold="True" Font-Size="XX-Large" 
                ForeColor="White" Text="Đăng tin khuyến mãi"></asp:Label>
            
    </div>
    <div style="width: 100%; padding-left: 5px; padding-top: 5px; display: block; overflow: hidden;">

        <table class="style1">
            <tr>
                <td align="center" colspan="3">

                    <asp:Label ID="lblThongBao" runat="server" Font-Bold="True" Font-Size="X-Large" 
                        ForeColor="Red"></asp:Label>

                </td>
            </tr>
            <tr>
                <td align="right" class="style7" style="padding-right: 5px">
                <asp:Label ID="Label20" runat="server" Text="Tên khuyến mãi:" 
                    ForeColor="#003300" Font-Bold="True"></asp:Label>
                </td>
                <td class="style7" colspan="2">
                <asp:TextBox ID="tbTenKM" runat="server" Width="469px"></asp:TextBox>
                </td>
            </tr>
            <tr style="border-style: groove none groove none; border-width: thin">
                <td align="right" class="style8" style="padding-right: 5px">
                <asp:Label ID="Label1" runat="server" Text="Mô tả sản phẩm khuyến mãi:" 
                    ForeColor="#003300" Font-Bold="True"></asp:Label>
                </td>
                <td class="style8" colspan="2">
                <asp:TextBox ID="tbMoTa" runat="server" Height="77px" Width="470px" 
                    TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style7" style="padding-right: 5px">
                <asp:Label ID="Label2" runat="server" Text="Ảnh đại diện:" ForeColor="#003300" 
                    Font-Bold="True"></asp:Label>
                </td>
                <td class="style7" colspan="2">
                <asp:TextBox ID="tbAnhDaiDien" runat="server" Width="250px"></asp:TextBox>
                <asp:FileUpload id="AnhDaiDienUploadCotrol" runat="server" />                
                    <asp:Button ID="btUpLoad0" runat="server" onclick="UploadButton0_Click" 
                        Text="UpLoad" />
                <asp:Label runat="server" id="StatusLabel0" />
                </td>
            </tr>
            <tr>
                <td align="right" class="style9" style="padding-right: 5px">
                <asp:Label ID="Label3" runat="server" Text="Giá gốc:" ForeColor="#003300" 
                    Font-Bold="True"></asp:Label>
                </td>
                <td class="style9" colspan="2">
                <asp:TextBox ID="tbGiaCu" runat="server" Width="160px"></asp:TextBox>
                <asp:Label ID="Label4" runat="server" Text="VNĐ" ForeColor="#003300"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" class="style10" style="padding-right: 5px">
                <asp:Label ID="Label5" runat="server" Text="Giá mới:" ForeColor="#003300" 
                    Font-Bold="True"></asp:Label>
                </td>
                <td class="style10" colspan="2">
                <asp:TextBox ID="tbGiaMoi" runat="server" Width="160px"></asp:TextBox>
                <asp:Label ID="Label6" runat="server" Text="VNĐ" ForeColor="#003300"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" class="style11" style="padding-right: 5px">
                <asp:Label ID="Label7" runat="server" BackColor="White" ForeColor="#003300" 
                    Text="Thời hạn khuyến mãi:" Font-Bold="True"></asp:Label>
                </td>
                <td class="style11">
                        <asp:Label ID="Label9" runat="server" ForeColor="#003300" Text="Từ ngày: "></asp:Label>
                        <asp:TextBox ID="tbNgayBD" runat="server" Width="163px"></asp:TextBox>  
                        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                        </asp:ToolkitScriptManager> 
                        <asp:CalendarExtender ID="CalendarExtender1" runat="server" Format="dd/MM/yyyy" TargetControlID= "tbNgayBD"></asp:CalendarExtender>                               
                        </td>
                <td class="style11">
                        <asp:Label ID="Label10" runat="server" ForeColor="#003300" Text="Đến ngày: "></asp:Label>
                        <asp:TextBox ID="tbNgayKT" runat="server" Width="150px"></asp:TextBox>
                        <asp:CalendarExtender TargetControlID= "tbNgayKT"  ID="CalendarExtender2" 
                            runat="server" Format="dd/MM/yyyy">
                        </asp:CalendarExtender>
                    </td>
            </tr>
            <tr>
                <td align="right" rowspan="3" style="padding-right: 5px">
                <asp:Label ID="Label8" runat="server" ForeColor="#003300" 
                    Text="Ảnh minh họa thêm:" Font-Bold="True"></asp:Label>
                </td>
                <td class="style12" colspan="2">                
                <asp:TextBox ID="tbAnh1" runat="server" Width="250px"></asp:TextBox>
                <asp:FileUpload id="AnhUploadControl1" runat="server" />                
                    <asp:Button ID="btUpLoad1" runat="server" onclick="UploadButton1_Click" 
                        Text="UpLoad" />
                <asp:Label runat="server" id="StatusLabel1" />
                </td>
            </tr>
            <tr>
                <td class="style13" colspan="2">
                <asp:TextBox ID="tbAnh2" runat="server" Width="250px"></asp:TextBox>
                <asp:FileUpload id="AnhUploadControl2" runat="server" />                
                    <asp:Button ID="btUpLoad2" runat="server" onclick="UploadButton2_Click" 
                        Text="UpLoad" />
                <asp:Label runat="server" id="StatusLabel2" />
                </td>
            </tr>
            <tr>
                <td class="style12" colspan="2">
                <asp:TextBox ID="tbAnh3" runat="server" Width="250px"></asp:TextBox>
                <asp:FileUpload id="AnhUploadControl3" runat="server" />                
                    <asp:Button ID="btUpLoad3" runat="server" onclick="UploadButton3_Click" 
                        Text="UpLoad" />
                <asp:Label runat="server" id="StatusLabel3" />
                </td>
            </tr>
            <tr>
                <td align="right" class="style14" style="padding-right: 5px">
                <asp:Label ID="Label19" runat="server" Text="Video giới thiệu:" ForeColor="#003300" 
                    Font-Bold="True"></asp:Label>
                </td>
                <td class="style14" colspan="2">
                <asp:TextBox ID="tbVideo" runat="server" Width="379px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style4" style="padding-right: 5px">
                <asp:Label ID="Label11" runat="server" ForeColor="#003300" 
                    Text="Điểm nổi bật:" Font-Bold="True"></asp:Label>
                </td>
                <td class="style4" colspan="2">
                <asp:TextBox ID="tbDiemNoiBat" runat="server" Height="125px" Width="470px" 
                    TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style5" style="padding-right: 5px">
                <asp:Label ID="Label12" runat="server" ForeColor="#003300" 
                    Text="Điều kiện sử dụng:" Font-Bold="True"></asp:Label>
                </td>
                <td class="style5" colspan="2">
                <asp:TextBox ID="tbDKSD" runat="server" Height="125px" Width="470px" 
                    TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style6" style="padding-right: 5px">
                <asp:Label ID="Label13" runat="server" ForeColor="#003300" 
                    Text="Giới thiệu chi tiết:" Font-Bold="True"></asp:Label>
                </td>
                <td class="style6" colspan="2">
                <asp:TextBox ID="tbGioiThieuChiTiet" runat="server" Height="200px" TextMode="MultiLine" 
                    Width="470px" Wrap="False"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style2" style="padding-right: 5px">
                <asp:Label ID="Label18" runat="server" ForeColor="#003300" 
                    Text="Hình thức giao:" Font-Bold="True"></asp:Label>
                </td>
                <td class="style2" colspan="2">
                <asp:DropDownList ID="ddlHinhThucGiao" runat="server" Height="20px" 
                    Width="252px">
                    <asp:ListItem>Giao trực tiếp sản phẩm</asp:ListItem>
                    <asp:ListItem>Giao phiếu mua sản phẩm</asp:ListItem>
                </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right" class="style2" style="padding-right: 5px">
                <asp:Label ID="Label15" runat="server" ForeColor="#003300" 
                    Text="Khu vực khuyến mãi:" Font-Bold="True"></asp:Label>
                </td>
                <td class="style2" colspan="2">
                <asp:DropDownList ID="ddlKhuVuc" runat="server" Height="20px" 
                    Width="252px">                    
                </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right" class="style2" style="padding-right: 5px">
                <asp:Label ID="Label14" runat="server" ForeColor="#003300" 
                    Text="Địa chỉ:" Font-Bold="True"></asp:Label>
                </td>
                <td class="style2" colspan="2">
                <asp:TextBox ID="tbDiaChi" runat="server" Width="470px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center" class="style3" colspan="3">

            <asp:ImageButton ID="ibuttonThemTin" runat="server" Height="34px" 
                ImageUrl="~/Images/themtin.png" Width="136px" 
                onclick="ibuttonThemTin_Click" />

                </td>
            </tr>
            
        </table>
    </div>
    </div>